Xbasic

A5_GetAttemptedUser Function

Syntax

Username as C = a5_GetAttemptedUser()

Description

Return the last user that attempted to log in.

Discussion

The A5_GetAttemptedUser() function returns the name of the last user to unsuccessfully attempt to log in.

Example

dim joe as C
joe = A5_GetAttemptedUser()
ui_msg_box("Failed Attempt at Login", joe + " exceeded the maximum number of logon attempts")

Limitations

Desktop applications only.

See Also